package com.bort.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bort.system.model.Cost;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

@Mapper
public interface CostMapper extends BaseMapper<Cost> {
    void increaseGoodsStock(@Param("goodsId") Integer goodsId,@Param("stock") Integer stock);

    BigDecimal getRecoverySum(@Param("timeBegin") Object timeBegin,@Param("timeEnd")  Object timeEnd);
}
